/*
 * @Author: 卡卡 1071780426@qq.com
 * @Date: 2023-09-14 12:31:39
 * @LastEditors: 贺楠 1071780426@qq.com
 * @LastEditTime: 2024-10-24 15:17:12
 * @FilePath: \mould\src\components\BehaViorManage\workYear\regexDetail.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
export default {

    //种类新增options
    formTypeObj: [{
            input: true, //是input
            label: "材料种类", //字段
            prop: "fVarietyname", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '材料种类不能为空'
            }] //验证
        },
        
        // {
        //     selects: true, //是input
        //     label: "检测类型", //字段
        //     prop: "fDetecttype", //字段名
        //     width: 24, //参考el-col
        //     disabled: false, //是否禁用
        //     rules: [{
        //         required: true,
        //         message: '材料种类不能为空'
        //     }] ,//验证
        //     options:[{
        //         label:'自检',
        //         value:"自检"
        //     },
        //     {
        //         label:'外委',
        //         value:"外委"
        //     }]
        // },
        {
            selects: true, //是input
            label: "备案材料", //字段
            prop: "fFilingmaterial", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '备案材料不能为空'
            }] ,//验证
            options:[{
                label:'是',
                value:"是"
            },
            {
                label:'否',
                value:"否"
            }]
        },
        {
            selects: true, //是input
            label: "备案层级", //字段
            prop: "fFilinglevel", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '备案层级不能为空'
            }] ,//验证
            options:[{
                label:'建投公司',
                value:"建投公司"
            },
            {
                label:'指挥部',
                value:"指挥部"
            }]
        },
        {
            input: true, //是input
            label: "排序号", //字段
            prop: "fSort", //字段名
            width: 24, //参考el-col
            type:'number',
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '排序号不能为空'
            }] //验证
        }, {
            switch: true, //是input
            label: "是否启用", //字段
            prop: "fStatus", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '是否启用不能为空'
            }] //验证
        },
        {
            textarea: true, //是input
            label: "描述说明", //字段
            prop: "fNote", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '描述说明不能为空'
            }] //验证
        },
    ],
    formMaterialObj: [{
        input: true, //是input
        label: "材料种类", //字段
        prop: "fVarietyname", //字段名
        width: 12, //参考el-col
        disabled: true, //是否禁用
        rules: [{
            required: true,
            message: '材料种类不能为空'
        }] //验证
    },
    {
        input: true, //是input
        label: "材料名称", //字段
        prop: "fMaterialname", //字段名
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            message: '材料种类不能为空'
        }] //验证
    },
    {
        input: true, //是input
        label: "排序号", //字段
        prop: "fSort", //字段名
        type:'number',
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: false,
            message: '排序号不能为空'
        }] //验证
    },
    // {
    //     input: true, //是input
    //     label: "单位", //字段
    //     prop: "fUnit", //字段名
    //     width: 12, //参考el-col
    //     disabled: false, //是否禁用
    //     rules: [{
    //         required: false,
    //         message: '排序号不能为空'
    //     }] //验证
    // },
    {
        selects: true, //是input
        label: "单位", //字段
        prop: "fUnit", //字段名
        width: 12, //参考el-col
        disabled: false, //是否禁用
        options: [],
        rules: [{
            required: true,
            message: '单位不能为空'
        }] //验证
    },
    {
        input: true, //是input
        label: "检测频率", //字段
        prop: "fFrequency", //字段名
        type:'number',
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: false,
            message: '排序号不能为空'
        }] //验证
    },{
        input: true, //是input
        label: "依据标准", //字段
        prop: "fStandard", //字段名
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: false,
            message: '依据标准不能为空'
        }] //验证
    }, 
    // {
    //     switch: true, //是input
    //     label: "是否启用", //字段
    //     prop: "fStatus", //字段名
    //     width: 12, //参考el-col
    //     disabled: false, //是否禁用
    //     rules: [{
    //         required: false,
    //         message: '是否启用不能为空'
    //     }] //验证
    // },
  
    {
        textarea: true, //是input
        label: "检测频率说明", //字段
        prop: "fNote", //字段名
        width: 24, //参考el-col
        disabled: false, //是否禁用
        maxlength:250,
        rules: [{
            required: false,
            message: '描述说明不能为空'
        }] //验证
    },
],

}